package com.zuxia.entity;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author laoli
 * @since 2024-11-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Balance对象", description="")
@ToString
public class Balance implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "收支id")
    @TableId("balance_id")
    private String balanceId;

    @ApiModelProperty(value = "会员id")
    private String userId;

    @ApiModelProperty(value = "收支明细多少钱")
    private BigDecimal balanceMoney;

    @ApiModelProperty(value = "收支状态（0-收入，1-支出）")
    private Integer balanceStatus;


    @ApiModelProperty(value = "收支时间")
    private String balanceTime;

}
